package com.cwl.pattern.备忘录模式;

/**
 * @program: pattern
 * @description: 备忘录
 * @author: ChenWenLong
 * @create: 2019-07-10 12:51
 **/
public class Memento {

    private String state;
    public Memento(String state) {
        this.state=state;
    }

    public void setState(String state) {
        this.state=state;
    }

    public String getState() {
        return state;
    }
}
